<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title></title>
<link rel="stylesheet" type='text/css' href="__PUBLIC__/Css/Admin/common.css"/>
</head>
<body>
	<h2 class='top'>
		<span>添加类型属性</span>
        <a href="<?php echo U('addType');?>">返回属性列表</a>
    </h2>
	<form action="<?php echo U('runAddAttr');?>" method='post'>
		<table class="table1">
			<tr>
				<td width='45%' align='right'>属性名称：</td>
				<td>
					<input type="text" name='name' class='input2'/>
				</td>
			</tr>
			<tr>
				<td width='45%' align='right'>属性类型：</td>
				<td>
					<input type="radio" name='type' value='0' checked='checked'> 属性&nbsp;&nbsp;
					<input type="radio" name='type' value='1'> 规格
				</td>
			</tr>
			<tr>
				<td width='45%' align='right'>属性值：</td>
				<td>
					<textarea name="value" class='textarea'></textarea>
				</td>
			</tr>
			<tr>
				<td colspan='2' align='center'>
					<input type="hidden" name='tid' value='<?php echo ($_GET['tid']); ?>'>
					<input type="submit" value='保存添加' class='bt1'>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>